package com.ics.cmsadmin.modules.system.steward;

import com.ics.cmsadmin.modules.system.service.*;
import org.springframework.stereotype.Component;

import javax.annotation.Resource;

@Component
public class SystemServices {
    public static CityService cityService;
    public static MetaService metaService;
    public static RegisterService registerService;
    public static SequenceNumberService sequenceNumberService;
    public static UploadService uploadService;
    public static UserOperLogService userOperLogService;

    @Resource
    public void setCityService(CityService cityService) {
        SystemServices.cityService = cityService;
    }

    @Resource
    public void setMetaService(MetaService metaService) {
        SystemServices.metaService = metaService;
    }

    @Resource
    public void setRegisterService(RegisterService registerService) {
        SystemServices.registerService = registerService;
    }

    @Resource
    public void setSequenceNumberService(SequenceNumberService sequenceNumberService) {
        SystemServices.sequenceNumberService = sequenceNumberService;
    }

    @Resource
    public void setUploadService(UploadService uploadService) {
        SystemServices.uploadService = uploadService;
    }

    @Resource
    public void setUserOperLogService(UserOperLogService userOperLogService) {
        SystemServices.userOperLogService = userOperLogService;
    }
}
